<!--  -->
<template>
  <el-table-plus :tableData="useDataStore().tableData"> </el-table-plus>
</template>

<script setup>
import { enterFolder } from '@/request/common'
import { useDataStore, useFilePidStore, useUserStore } from '@/stores/index'
import ElTablePlus from '@/components/el-table-plus.vue'
import { getUserInfo } from '@/request/usr'

// 数据
// enterFolder(localStorage.getItem('filePid')).then((res) => {
//   console.log(res)
//   useDataStore().setData(res.data)
// })
getUserInfo(useUserStore().UserInfo.userId).then((res) => {
  useUserStore().setUserInfo(res)
})
enterFolder(useFilePidStore().filePid).then((res) => {
  console.log(res)
  useDataStore().setData(res.data)
})

//个人用户基本数据获取数据
</script>

<style lang="scss" scoped></style>
